<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/base/base.jsp"%>
<%@ include file="/base/database.jsp" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title>管理员个人信息</title>
<link rel="stylesheet" href="css/pintuer.css">
<link rel="stylesheet" href="css/admin.css">
<link rel="shortcut icon" href="images/logo.jpg">
<script src="js/jquery.js"></script>
<script src="js/pintuer.js"></script>

</head>

<body>
<form method="post" action="" id="listform">
  <div class="panel admin-panel">
    <div class="panel-head"><strong class="icon-reorder"> 管理员个人信息</strong> </div>
    <div class="padding border-bottom">

    </div>
    <table class="table table-hover text-center">
      <tr>
      
				<th>我的工号</th>
				<th>我的姓名</th>
				<th>所在学院</th>
				<th>登录密码</th>
				<th>电话号码</th>
				<th>操作</th>
      </tr>
    
				
				
		
			<%  
			    request.setCharacterEncoding("utf-8");
			    
			    String  keyword=request.getParameter("keyword");
			
				StringBuffer sqlBuff = new StringBuffer();
				sqlBuff.append("select * from sys_manager where 1=1");
				String sql = sqlBuff.toString();
				
				Connection conn = getConn();
				
				PreparedStatement pstmt = conn.prepareStatement(sql);

				ResultSet rs = pstmt.executeQuery();
			
			
				while(rs.next()) {
					
				String loginNo=rs.getString("loginNo");
				String managerName=rs.getString("managerName");
				String department=rs.getString("department");
				String password=rs.getString("password");
				String telephone=rs.getString("telephone");
			%>

			<tr>
				
				<td><%=loginNo %></td>
				<td><%=managerName %></td>
				<td><%=department %></td>
				<td><%=password %></td>
				<td><%=telephone %></td>
				<td>
				<div class="button-group">
				 <a class="button border-main" href="<%=path%>/page/manager/manager_edit.jsp?loginNo=<%=loginNo%>"><span class="icon-edit"></span> 修改</a></div>
				</td>
			</tr>
			<%
				}
			%>
    </table>
  </div>
 
</form>
</body>
</html>
